]> dgit.raspbian.org Git - gnome-shell.git/commit
network: Clear connectivity queue after portal login
authorMichael Catanzaro <mcatanzaro@redhat.com>
Mon, 28 Jul 2025 11:38:51 +0000 (13:38 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 13 Sep 2025 16:54:49 +0000 (18:54 +0200)
commit7b34b0180a14c2bfdc601e757bb5af0fabdf60d0
tree64ca8634cd7bf0429e75e451d88ccf2e7aad61f1
parent6fbcad9180930f874f511db27c8f27e476a8b90b
network: Clear connectivity queue after portal login

When full connectivity (or rather, non-portal connectivity) is achieved,
we can clear all active portal helpers.

Normally, the portal helper will signal that it is done, but it is
implemented in a racy manner. So here let's do a comprehensive big
hammer solution to guarantee the portal helper definitely gets
eventually closed even if we miss the race window in the portal helper.
(The race is: the portal helper checks connectivity status either
immediately or within a certain amount of time after a navigation policy
decision. This could theoretically be too soon, and if missed, it won't
be rescheduled.)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3813>
(cherry picked from commit b8b690eb88db034b606e51cff64741557a72fc86)
js/ui/status/network.js